package com.dz.service;

import com.dz.dto.EmployeeDTO;
import com.dz.dto.EmployeeLoginDTO;
import com.dz.dto.EmployeePageQueryDTO;
import com.dz.dto.PasswordEditDTO;
import com.dz.entity.Employee;
import com.dz.result.Result;
import com.dz.vo.EmployeeVo;
import com.dz.vo.PageVo;

public interface EmployeeService {

    /**
     * 员工登录
     * @param employeeLoginDTO 员工数据传输对象
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    Result<?> addEmployee(EmployeeDTO employeeDTO);

    PageVo getEmployeePage(EmployeePageQueryDTO pageQueryDTO);

    Result<String> changeStatus(Integer status, Long id);

    Result<EmployeeVo> getEmployeeById(Long id);

    Result<String> updateEmp(EmployeeDTO employeeDTO);

    Result<String> editPass(PasswordEditDTO passwordEditDTO);

}
